package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalAppMenuDao;
import com.appkubes.portal.core.entity.PortalAppMenu;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalAppMenuService extends AbstractBaseService<BasePortalAppMenuDao, PortalAppMenu> {

    PortalAppMenu getOneByEntity(PortalAppMenu entity);

    List<PortalAppMenu> selectListByEntity(PortalAppMenu entity);

    IPage<PortalAppMenu> selectPageByEntity(IPage<PortalAppMenu> page);
    IPage<PortalAppMenu> selectPageByEntity(PageVO pageVO);

    IPage<PortalAppMenu> selectPageByEntity(PortalAppMenu entity, IPage<PortalAppMenu> page);
    IPage<PortalAppMenu> selectPageByEntity(PortalAppMenu entity, PageVO pageVO);

    IPage<PortalAppMenu> selectPageByEntity(PortalAppMenu entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalAppMenu entity);
}
